IModule.ReadSdoBuffer method
Reads a byte array through Service Data Object (SDO).
Namespace: IntervalZero.KINGSTAR.Base.Class
Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
IKsCommand<byte[]> ReadSdoBuffer(
ushort index,
byte subIndex,
bool completeAccess,
int length = 64
)
Function ReadSdoBuffer(
index As UShort,
subIndex As Byte,
completeAccess As Boolean,
length = 64 As Integer
) As IKsCommand(Of Byte())
Parameters
index
Type: ushort
The index of the object to read in the object dictionary.
subIndex
Type: byte
The subindex of the object to read in the object dictionary.
completeAccess
Type: bool
true: Reads all subindexes. false: Reads a single subindex.
length
Type: int
Default value: 64
The data length of the object to read in the object dictionary.
Return value
Type: IKsCommand<byte[]>
Returns the states of a method and a byte array.
See also